import request from '@/utils/request'

/**
 * 企业后端-获取评价列表
 * @param {*} data 
 * @returns 
 */
export function creEvaluatelist (data) {
  return request({
    url: '/basic-api/credit/creEvaluate/evaluateList',
    method: 'get',
    params: data
  })
}

/**
 * 企业后端-添加评价
 * @param {*} data 
 * @returns 
 */
export function creEvaluateAdd (data) {
  return request({
    url: '/basic-api/credit/creEvaluate/evaluateAdd',
    method: 'post',
    data
  })
}


/**
 * 删除资质证明
 */
export function creEvaluateDelete (id) {
  return request({
    url: '/basic-api/credit/creEvaluate/evaluateRemove/' + id,
    method: 'delete',
  })

}
